<?php

namespace app\model\store;

use think\Model;

class GoodsSpec extends Model
{
    public function values(): \think\model\relation\HasMany
    {
        return $this->hasMany(GoodsSpecValue::class, 'spec_id');
    }
}
